package com.example.yyg.springframework.beans.factory.support;

import com.example.yyg.springframework.beans.factory.config.BeanDefinition;

import java.util.Objects;

public interface BeanDefinitionRegistry {

    /**
     * 注册beanDefinition
     * @param beanName
     * @param beanDefinition
     */
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);

    boolean containsBeanDefinition(String beanName);

}
